<!DOCTYPE html>
{% load static %}
<html>
<head>
    <meta charset="utf-8">
    <title>CSS控制表单样式</title>
    <link href="{% static 'style.css' %}" type="text/css" rel="stylesheet"/>
</head>
<body>
    <form action="/bolg/login/" method="post">
        <p>
            <span>账号：</span>
            <input type="text" name="username" class="num">
        </p>
        <p>
            <span>密码：</span>
            <input type="password" name="password" class="pass"/>
        </p>
        <p>
            <p> <input type="submit" class="btn01" value="登录"> </p>
        </p>
        <p>
            <p> 没有账号？点击<a href="/bolg/reg/">注册</a> </p>
        </p>
    </form>
<!--    <h1>用户登录</h1>-->
<!--    <form method="post">-->
<!--        {% csrf_token %}-->
<!--        <div>-->
<!--            <label for="username">用户名</label>-->
<!--            <input type="text" id="username" name="username" required>-->
<!--        </div>-->
<!--        <div>-->
<!--            <label for="password">密码</label>-->
<!--            <input type="text" id="password" name="password" required>-->
<!--        </div>-->
<!--        <p><input type="checkbox" name="remember">记住</p>-->
<!--        <button type="submit">登录</button>-->

<!--    </form>-->

</body>
</html>